ááááááááááGetFile
ááááááááááMethod
ááááááááááMemberáof áRSConvert.DBF

áDescriptioná
Retrieves the recordset as a binary DBF data.
áSyntaxá
vGetFile = DBF.GetFile (RS as Variant)
á
Where Type Optional Default Description
áRSááVariantáááááADO or DAO recordset to saveá
áReturnsá
Binary
áExamplesá
Send database table as DBFá
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
  'Sets the content type
  Response.ContentType = "application/DBF"
  
  'Create RecordSet and DBF objects
  Set ADORS = CreateObject("ADODB.Recordset")
  Set DBF = CreateObject("RSConvert.DBF")
  
  'Open table
  ADORS.Open "Customers", "DSN=ADOSamples"
  
  'Write DBF file to the client
  Response.BinaryWrite DBF.GetFile(ADORS)
  
  'Close recordset
  ADORS.Close
</SCRIPT>
áMethods of DBFá
GetFile, SaveRS
áProperties of DBFá
Compress, CurrencyDecimal, CurrencyWidth, DoubleDecimal, DoubleWidth, IntegerWidth, LongVarCharWidth, RowCount, SingleDecimal, SingleWidth, TempDirectory

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz